import { createApp } from 'vue'
import App from './App.vue'
import axios from 'axios'
import mitt from "mitt"

const app=createApp(App)
app.config.globalProperties.$axios = axios;
app.config.globalProperties.$bus = new mitt();
/* eslint-disable */
XE.ready().then(() => {
    // 加载标绘插件
    XE.HTML.loadJS('./XbsjEarth-Plugins/plottingSymbol/plottingSymbol.js')
    XE.HTML.loadJS('./XbsjEarth-Plugins/customPrimitive/customPrimitive.js')
    XE.HTML.loadJS("./XbsjEarth-Plugins/three.min.js")
    return XE.HTML.loadJS('./XbsjEarth-Plugins/plottingSymbol2/plottingSymbol2.js')
}).then(() => {
    app.mount('#app')
});

